﻿using SqlSugar;

namespace HamcoWcs.Tools.LogCleaner.Entities
{
    ///<summary>
    ///基础配置表
    ///</summary>
    [SugarTable("base_config")]
    public class BaseConfig
    {
        public BaseConfig()
        {


        }
        /// <summary>
        /// Desc:主键Id
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public long Id { get; set; }

        /// <summary>
        /// Desc:配置名
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string ConfigKey { get; set; }

        /// <summary>
        /// Desc:配置值
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string ConfigValue { get; set; }

        /// <summary>
        /// Desc:配置说明
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Desc { get; set; }

        /// <summary>
        /// Desc:后台配置
        /// Default:0
        /// Nullable:False
        /// </summary>           
        public byte IsBackground { get; set; }

    }
}
